package com.njitt.bysj.mapper;

import com.njitt.bysj.base.BaseMapper;
import com.njitt.bysj.bean.EmpBean;
import com.njitt.bysj.model.EmpModel;
import org.apache.ibatis.annotations.MapKey;

import java.util.List;
import java.util.Map;

public interface EmpBeanMapper extends BaseMapper<EmpBean, Integer> {
    EmpModel findEmpByLoginId(Integer loginId);

    @MapKey("id")
    List<Map<String, Object>> selectDesignerByRoleInTechnology(String roleName);
}